# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'main.ui'
##
## Created by: Qt User Interface Compiler version 5.15.8
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *  # type: ignore
from PySide2.QtGui import *  # type: ignore
from PySide2.QtWidgets import *  # type: ignore


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        if not MainWindow.objectName():
            MainWindow.setObjectName(u"MainWindow")
        MainWindow.resize(401, 378)
        self.centralwidget = QWidget(MainWindow)
        self.centralwidget.setObjectName(u"centralwidget")
        self.verticalLayout_3 = QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.groupBox = QGroupBox(self.centralwidget)
        self.groupBox.setObjectName(u"groupBox")
        self.verticalLayout = QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.lineEdit_hexfile = QLineEdit(self.groupBox)
        self.lineEdit_hexfile.setObjectName(u"lineEdit_hexfile")

        self.horizontalLayout.addWidget(self.lineEdit_hexfile)

        self.pushButton_hexfile_select = QPushButton(self.groupBox)
        self.pushButton_hexfile_select.setObjectName(u"pushButton_hexfile_select")

        self.horizontalLayout.addWidget(self.pushButton_hexfile_select)

        self.pushButton_readhex = QPushButton(self.groupBox)
        self.pushButton_readhex.setObjectName(u"pushButton_readhex")

        self.horizontalLayout.addWidget(self.pushButton_readhex)


        self.verticalLayout.addLayout(self.horizontalLayout)

        self.gridLayout = QGridLayout()
        self.gridLayout.setObjectName(u"gridLayout")
        self.checkBox_addHead = QCheckBox(self.groupBox)
        self.checkBox_addHead.setObjectName(u"checkBox_addHead")

        self.gridLayout.addWidget(self.checkBox_addHead, 0, 0, 1, 1)

        self.lineEdit_firmware_head = QLineEdit(self.groupBox)
        self.lineEdit_firmware_head.setObjectName(u"lineEdit_firmware_head")
        self.lineEdit_firmware_head.setEnabled(False)

        self.gridLayout.addWidget(self.lineEdit_firmware_head, 0, 1, 1, 1)

        self.label_2 = QLabel(self.groupBox)
        self.label_2.setObjectName(u"label_2")

        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)

        self.lineEdit_firmware_addr = QLineEdit(self.groupBox)
        self.lineEdit_firmware_addr.setObjectName(u"lineEdit_firmware_addr")

        self.gridLayout.addWidget(self.lineEdit_firmware_addr, 1, 1, 1, 1)

        self.label_3 = QLabel(self.groupBox)
        self.label_3.setObjectName(u"label_3")

        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)

        self.lineEdit_firmware_length = QLineEdit(self.groupBox)
        self.lineEdit_firmware_length.setObjectName(u"lineEdit_firmware_length")
        self.lineEdit_firmware_length.setReadOnly(True)

        self.gridLayout.addWidget(self.lineEdit_firmware_length, 2, 1, 1, 1)


        self.verticalLayout.addLayout(self.gridLayout)

        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.lineEdit_binfile = QLineEdit(self.groupBox)
        self.lineEdit_binfile.setObjectName(u"lineEdit_binfile")

        self.horizontalLayout_2.addWidget(self.lineEdit_binfile)

        self.pushButton_binfile_select = QPushButton(self.groupBox)
        self.pushButton_binfile_select.setObjectName(u"pushButton_binfile_select")

        self.horizontalLayout_2.addWidget(self.pushButton_binfile_select)

        self.pushButton_bin_save = QPushButton(self.groupBox)
        self.pushButton_bin_save.setObjectName(u"pushButton_bin_save")

        self.horizontalLayout_2.addWidget(self.pushButton_bin_save)


        self.verticalLayout.addLayout(self.horizontalLayout_2)


        self.verticalLayout_3.addWidget(self.groupBox)

        self.groupBox_2 = QGroupBox(self.centralwidget)
        self.groupBox_2.setObjectName(u"groupBox_2")
        self.verticalLayout_2 = QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.textEdit_log = QTextEdit(self.groupBox_2)
        self.textEdit_log.setObjectName(u"textEdit_log")
        self.textEdit_log.setReadOnly(True)

        self.verticalLayout_2.addWidget(self.textEdit_log)


        self.verticalLayout_3.addWidget(self.groupBox_2)

        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QMenuBar(MainWindow)
        self.menubar.setObjectName(u"menubar")
        self.menubar.setGeometry(QRect(0, 0, 401, 23))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QStatusBar(MainWindow)
        self.statusbar.setObjectName(u"statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)

        QMetaObject.connectSlotsByName(MainWindow)
    # setupUi

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"\u56fa\u4ef6\u751f\u6210\u5de5\u5177", None))
        self.groupBox.setTitle(QCoreApplication.translate("MainWindow", u"\u56fa\u4ef6\u9009\u9879", None))
        self.lineEdit_hexfile.setText("")
        self.pushButton_hexfile_select.setText(QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u6587\u4ef6", None))
        self.pushButton_readhex.setText(QCoreApplication.translate("MainWindow", u"\u8bfb\u53d6\u4fe1\u606f", None))
        self.checkBox_addHead.setText(QCoreApplication.translate("MainWindow", u"\u6dfb\u52a0\u5934\u90e8\u548cCRC32", None))
        self.lineEdit_firmware_head.setText(QCoreApplication.translate("MainWindow", u"0x66666666", None))
        self.lineEdit_firmware_head.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u4f8b\u5982\"0x66666666\"", None))
        self.label_2.setText(QCoreApplication.translate("MainWindow", u"APP\u5730\u5740", None))
        self.lineEdit_firmware_addr.setText("")
        self.lineEdit_firmware_addr.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u4f8b\u5982\"0x08020000\"", None))
        self.label_3.setText(QCoreApplication.translate("MainWindow", u"\u751f\u6210\u56fa\u4ef6\u957f\u5ea6", None))
        self.lineEdit_binfile.setText(QCoreApplication.translate("MainWindow", u"./firmware.bin", None))
        self.pushButton_binfile_select.setText(QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u4fdd\u5b58\u4f4d\u7f6e", None))
        self.pushButton_bin_save.setText(QCoreApplication.translate("MainWindow", u"\u751f\u6210\u56fa\u4ef6", None))
        self.groupBox_2.setTitle(QCoreApplication.translate("MainWindow", u"\u8f93\u51fa\u65e5\u5fd7", None))
    # retranslateUi

